package com.forum.service.photo;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.ApiResult;
import com.forum.pojo.photo.PhotoWall;

/**
 * @author Tsing
 */
public interface PhotoWallService extends IService<PhotoWall> {
    ApiResult<?> getPhoto(int page,int size,int categoryId);

    ApiResult<?> getRecommendPhoto(Integer page, Integer size);

    ApiResult<?> getPhotoDetail(Integer photoWallId);

    ApiResult<?> likePhoto(boolean likeState, Integer photoWallId);

    ApiResult<?> getMyPhotoWalls(int page,int size);
}
